<h2><?php echo $this->areas->Make($this->item->getAreas())." район, вулиця ".$this->item->getStreet()."."; ?></h2>
<div class="ramka1">
<figure class="left marg_right1"><img src="/public/upload/photos/<?php echo $this->item->getImagesMin(); ?>" alt="" width="117px"></figure>
<table border="0" cellpadding="0" cellaspacing="0">
    <tr>
        <td>
            <p class="pad_bot1"><strong class="color2">Метро: <span class="color1"><?php echo $this->metro->Make($this->item->getAreas(), $this->item->getMetro()); ?></p>
            <p class="pad_bot1"><strong class="color2">Ціна: <span class="color1">$ <?php echo $this->item->getPrice(); ?></p>
            <p class="pad_bot1"><strong class="color2">Загальна площа: <span class="color1"><?php echo $this->item->getSpace(); ?>м.кв. </p>
            <p class="pad_bot1"><strong class="color2">Житлова площа: <span class="color1">$ <?php echo $this->item->getSpace(); ?></p>
            <p class="pad_bot1"><strong class="color2">Кімнат: <span class="color1"><?php echo $this->item->getRooms(); ?></p>
        </td>
        <td style="padding-left:20px;">
            <p class="pad_bot1"><strong class="color2">Поверх/Кількість поверхів: <span class="color1"<?php echo $this->item->getSpace(); ?></p>
            <p class="pad_bot1"><strong class="color2">Стіни:<span class="color1" <?php echo $this->item->getSpace(); ?></p>
            <p class="pad_bot1"><strong class="color2">Тип пропозиції: <span class="color1">$ <?php echo $this->item->getSpace(); ?></span></strong></p>
        </td>
    </tr>
</table>
<div style="width:510px;">
<?php
if ($this->photos) {
    foreach ($this->photos as $photo):
        echo"<a class=\"group1\" href='/public/upload/photos/".$photo->getSrc()."'><img src='/public/upload/photos/".$photo->getMin()."' border='0' width='170px' style='padding:10px 0 0 5px;' /></a>";
    endforeach;
}
?>
</div>
<p class="pad_bot2">
    <fieldset>
        <?php echo $this->item->getDescription(); ?>
    </fieldset>
</p>
</div>
<script type="text/javascript">
$(document).ready(function(){
	$(".group1").colorbox({rel:'group1'});
});
</script>